<?php
try {
    $a=1;
    $b=$a;
    $c=['a'=>1,'b'=>2,'c'=>3];
    print_r($c['d']);
}catch (Exception $exception){
   file_put_contents("1.txt",$exception->getMessage());
}

